package com.jdym.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="积分", description="积分表")
public class Integral implements Serializable {
    @ApiModelProperty(value = "主键")
    @TableId(value = "in_id", type= IdType.AUTO)
    private int inId;

    @TableField(value = "integral_val")
    private int integralval;

    @TableField(value = "firm_id")
    private int firmid;

    @TableField(exist = false)
    private String firmName;
}
